package oa.hleast.xswl.pojo.domain.blog;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import oa.hleast.common.base.BaseEntity;

/**
 * ums_blog_like 博客点赞表
 *
 * @author 302
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("ums_blog_like")
public class UmsBlogLike extends BaseEntity {

    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 博客内容ID
     */
    private Long blogId;

    /**
     * 点赞用户ID
     */
    private Long likeUserId;

    /**
     * 删除标识  (0未删除 1已删除)
     */
    @TableLogic(value = "0", delval = "1")
    private Boolean deleted;
}